package middleware

import (
	"io/ioutil"

	"github.com/gin-gonic/gin"
)

func LoggerMidware(c *gin.Context) {
	data, _ := ioutil.ReadAll(c.Request.Body)
	println("cccc", string(data))
	c.Next()
}
